﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DBLibrary.Model.pojo
{
    public class LevelWarning
    {

        int sensorId;                                       //  [系统序号]
        DateTime warningTime;                               //  [报警时间]
        int portId;                                         //  [端口号]
        string sensor;                                      //  [传感器]
        string location;                                    //  [安装地点]
        string warningMessage;                              //  [分级报警信息]
        int level;                                          //  [分级类型]

        public int SensorId { get => sensorId; set => sensorId = value; }
        public DateTime WarningTime { get => warningTime; set => warningTime = value; }
        public int PortId { get => portId; set => portId = value; }
        public string Location { get => location; set => location = value; }
        public string WarningMessage { get => warningMessage; set => warningMessage = value; }
        public int Level { get => level; set => level = value; }
        public string Sensor { get => sensor; set => sensor = value; }
    }
}
